Pod::Spec.new do |s|
    s.name             = 'Risac'
    s.version          = '1.0.0'
    s.summary          = 'Swift Development Kit'
    s.description      = 'Swift Development Kit for iOS'
    s.homepage         = 'https://gitee.com/adios/Risac'
    s.license          = { :type => 'MIT', :file => 'LICENSE' }
    s.author           = { 'adios' => 'everydusk@gmail.com' }
    s.source           = { :git => 'https://gitee.com/adios/Risac.git', :tag => "s.version" }
    s.swift_version    = '5.0'
    s.ios.deployment_target = '10.0'
    s.subspec 'Extension' do |ss|
        ss.source_files = 'Risac/Extension/**/*.swift'
        ss.dependency 'DeviceKit'
    end
    s.subspec 'Base' do |ss|
        ss.source_files = 'Risac/Base/**/*.swift'
        ss.dependency 'Risac/Extension'
        ss.dependency 'Moya'
        ss.dependency 'SwiftyJSON'
        ss.dependency 'SnapKit'
        ss.dependency 'SwiftDate'
        ss.resource_bundles = {
            'Refresh' => ['Risac/Base/View/Refresh/Resources/*.png']
        }
    end
    #s.default_subspec = 'Extension'
end
